package com.yidu.dao;

import java.util.List;
import java.util.Map;

import com.yidu.model.LockerTb;

public interface LockerTbMapper {
    int deleteByPrimaryKey(String locId);

    int insert(LockerTb record);

    int insertSelective(LockerTb record);

    LockerTb selectByPrimaryKey(String locId);

    int updateByPrimaryKeySelective(LockerTb record);

    int updateByPrimaryKey(LockerTb record);
    /**
     * 查询
     * @return
     */
    List<LockerTb> selectAll(Map<String, Object> map);
    /**
     * 分页
     * @param tb 
     * @return
     */
    int findCount2(LockerTb tb);
    
    /**
     * box的下拉框
     */
    public List<LockerTb> selectTb();
}